package com.zzl.bonds.ticket.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : spp
 * @date : 2021/12/27 19:50
 */
@Data
@ApidocModel
public class NoticeApprovalResult {

    @NotNull(message = "审批id 不能为空")
    @ApidocModelProperty(description = "审批id")
    private String approvalId;

    @ApidocModelProperty(description = "1 开立审批 2 开立撤销 3兑付审批  4 兑付撤销")
    private String approvalType;

    @NotNull(message = "审批结果 不能为空")
    @ApidocModelProperty(description = "审批结果，0 驳回 1 通过")
    private String approvalResult;

    @ApidocModelProperty(description = "审批备注，通过或者驳回的 留言")
    private String approvalRemark;

    @ApidocModelProperty(description = "是否通知系统内所有人员")
    private Boolean isNoticeAllUser = false;

    @ApidocModelProperty(description = "接收用户userId")
    private List<String> receiveUserIds;

    @ApidocModelProperty(description = "开立、转让、异常申请的接收用户userId")
    private List<String> beforeReceiveUserIds;

    @ApidocModelProperty(description = "签收方的企业id,当发起签收流程时，传入的值应该是签收方的企业id", example = "")
    private String enterpriseId;
    /**
     * 需要流程中心将默认节点的公司部门写入到这个字段
     */
    @ApidocModelProperty(description = "签收的全部用户")
    private List<String> receiveOrgId;


    @ApidocModelProperty(description = "模板节点总数量")
    private Integer templateNodeCounts;

    @ApidocModelProperty(description = "当前节点等级")
    private Integer nodeLevels;
}
